<template>
  <div>
    <div class="mydocu">
      <p class="myheader">你好，{{name}}，欢迎光临樟树市人才服务</p>
      <van-divider color="#E8E8E8" />
      <p class="mycount" @click="Myresume('Myresume')">简历管理</p>
      <van-divider color="#E8E8E8" />
      <p class="mycount" @click="Myresume('Deliveryrecord')">投递记录</p>
      <van-divider color="#E8E8E8" />
      <p class="mycount" @click="Myresume('Mycollection')">我的收藏</p>
      <van-divider color="#E8E8E8" />
      <!-- <p class="mycount" @click="Myresume('seealsolist')">聊天列表</p>
      <van-divider color="#E8E8E8" /> -->
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      name: ''
    }
  },

  methods: {

    // 我的简历
    Myresume (name) {
      this.$router.push({
        name: name,
        query: {
          type: 80
        }
      })
    }

  },
  created () {
    this.name = sessionStorage.getItem('username')
  }

}
</script>

<style scoped>
.mydocu {
  text-align: left;
  margin: 40px;
}
.myheader {
  font-size: 28px;
  font-weight: bold;
  color: rgba(34, 34, 34, 1);
}
.mycount {
  font-size: 26px;
  color: rgba(34, 34, 34, 1);
}
</style>
